'use strict';

/**
 * @ngdoc service
 * @name jgappApp.AppUpdate
 * @description
 * # AppUpdate
 * Service in the jgappApp.
 */
angular.module('jgappApp')
    .service('AppUpdate', function() {
        // AngularJS will instantiate a singleton by calling "new" on this function
        // var fs = new CordovaPromiseFS({
        //     Promise: Promise
        // });
        // // Initialize a CordovaAppLoader
        // var loader = new CordovaAppLoader({
        //     fs: fs,
        //     localRoot: 'app',
        //     serverRoot: 'http://www.gcgsoa.com/jgapp/app/',
        //     cacheBuster: true, // make sure we're not downloading cached files.
        //     checkTimeout: 10000 // timeout for the "check" function - when you loose internet connection
        // });
        // window.BOOTSTRAP_OK = true;
        // return loader
        return {}
    });
